﻿<%@ include file="include/top.jsp" %>
<%@ include file="include/errorArea.jsp" %>

<body style="overflow:scroll;overflow-x:hidden;background-color:#F0F0F0"> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
            <td name="td_hide_server" id="server" width="182" height="31" align="center" valign="middle" background="images/first_server.jpg" onclick="opentd('server');" class="内容栏目白色字体"><span class="treePanert">首选服务</span></td>
          </tr>
          <tr name="tr_hide_server" style="display:none">
            <td height="2">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体" onclick="onSelect(this);"  onMouseOver="toClick(this);"> <a href="${ctx}/companyAdmin/toUpdatePW" target="main">修改密码</a></td>
              </tr>
            </table></td>
          </tr>
           <tr>
            <td height="2" align="center" valign="middle" class="内容栏目白色字体"></td>
          </tr>
          
             <tr>
            <td name="td_hide_setting" id="setting" width="182" height="31" align="center" valign="middle" background="images/setting_manage.jpg" onclick="opentd('setting');" class="内容栏目白色字体"><span class="treePanert">常规管理</span></td>
          </tr> 
        
           <tr  name="tr_hide_setting" style="display:none">
            <td height="2">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <c:if test="${sessionScope.companyAclArray[0]=='1'}">
         
              <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体" onclick="onSelect(this);"  onMouseOver="toClick(this);">  <a href="${ctx}/companyAdmin/companyListUser" target="main">用户管理</a></td>
              </tr>
           </c:if>
 		    </table></td>
          </tr>
          
          <tr>
            <td height="2" align="center" valign="middle" class="内容栏目白色字体"></td>
          </tr>
           
   <tr>
            <td id="order" name="td_hide_order" width="182" height="31" align="center" valign="middle" background="images/goods_manage.jpg" onclick="opentd('order');" class="内容栏目白色字体"><span class="treePanert">订单管理</span></td>
          </tr>
            <tr name="tr_hide_order" style="display:none">
            <td height="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <c:if test="${sessionScope.companyAclArray[12]=='1'}">
           
               <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体"  onclick="onSelect(this);" onMouseOver="toClick(this);"> <a href="${ctx}/companyAdmin/listOrderNew?status=1" target="main">当期订单</a></td>
              </tr>
              </c:if>
              <c:if test="${sessionScope.companyAclArray[2]=='1'}">
           
 		       <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体"  onclick="onSelect(this);" onMouseOver="toClick(this);"> <a href="${ctx}/companyAdmin/listOrder" target="main">接收订单</a></td>
              </tr>
              </c:if> 
              <c:if test="${sessionScope.companyAclArray[3]=='1'}">
           
      <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体"  onclick="onSelect(this);" onMouseOver="toClick(this);"> <a href="${ctx}/companyAdmin/listOrderOld?status=3" target="main">所有订单</a></td>
              </tr>
</c:if>
            <!--  <c:if test="${sessionScope.companyAclArray[3]=='1'}">
              <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体"><a href="admin_manageOrder.asp">物流监控</a></td>
              </tr>
              </c:if>  -->    
            </table></td>
          </tr>
            <tr>
            <td height="2" align="center" valign="middle" class="内容栏目白色字体"></td>
          </tr>
            
           <tr>
            <td id="bbs" name="td_hide_bbs" width="182" height="31" align="center" valign="middle" background="images/bbs_manage.jpg" onclick="opentd('bbs');" class="内容栏目白色字体"><span class="treePanert">社区服务</span></td>
          </tr>
           <tr name="tr_hide_bbs" style="display:none">
            <td height="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <c:if test="${sessionScope.companyAclArray[1]=='1'}">
           
             <tr>
                <td height="28" align="center" valign="middle"  onMouseOver="toClick(this);" onclick="onSelect(this);" class="二级菜单14号黑色字体"> <a href="${ctx}/companyAdmin/toShopCard" target="main">代下订单</a></td>
              </tr>
              </c:if>
               <c:if test="${sessionScope.companyAclArray[4]=='1'}">
           
             <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体" onclick="onSelect(this);"  onMouseOver="toClick(this);">  <a href="${ctx}/companyAdmin/toReg" target="main">注册会员信息</a></td>
              </tr>
           </c:if>
               <c:if test="${sessionScope.companyAclArray[5]=='1'}">
           <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体" onclick="onSelect(this);"  onMouseOver="toClick(this);">  <a href="${ctx}/companyAdmin/listUser" target="main">会员信息</a></td>
              </tr>
            </c:if>
            <c:if test="${sessionScope.companyAclArray[13]=='1'}">
            <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体"  onclick="onSelect(this);" onMouseOver="toClick(this);">  <a href="${ctx}/companyAdmin/listOrderServer" target="main">社区服务订单</a></td>
              </tr>
              </c:if>
             <c:if test="${sessionScope.companyAclArray[6]=='1'}">
          
               <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体" onclick="onSelect(this);"  onMouseOver="toClick(this);">  <a href="${ctx}/communityService/preCommunityService" target="main">社区服务分类</a></td>
              </tr>
            </c:if>
               <c:if test="${sessionScope.companyAclArray[7]=='1'}">
          
               <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体"  onclick="onSelect(this);" onMouseOver="toClick(this);">  <a href="${ctx}/communityServiceMange/listCommunityServiceMange" target="main">社区服务管理</a></td>
              </tr>
</c:if>
               </table></td>
          </tr>
          <tr>
            <td height="2" align="center" valign="middle" class="内容栏目白色字体"></td>
          </tr>
          
          <tr>
            <td id="forum" name="td_hide_forum" height="31" align="center" valign="middle" background="images/forum_manage.jpg" onclick="opentd('forum');" class="内容栏目白色字体"><span class="treePanert">交流空间</span></td>
          </tr>
     <tr name="tr_hide_forum" style="display:none">
            <td height="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
               <c:if test="${sessionScope.companyAclArray[9]=='1'}">
           <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体" onclick="onSelect(this);"  onMouseOver="toClick(this);">   <a href="${ctx}/forumO2C/listTopic" target="main">运营商沟通</a></td>
              </tr>
              </c:if>
               <c:if test="${sessionScope.companyAclArray[10]=='1'}">
          <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体"  onclick="onSelect(this);" onMouseOver="toClick(this);">   <a href="${ctx}/forumO2S/listTopic" target="main">供货商沟通</a></td>
              </tr>
              </c:if>
              <c:if test="${sessionScope.companyAclArray[11]=='1'}">
         <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体" onclick="onSelect(this);"  onMouseOver="toClick(this);">   <a href="${ctx}/forumC2U/listTopic" target="main">业主沟通</a></td>
              </tr>
              </c:if>
               </table></td>
          </tr>
          <tr>
            <td height="2" align="center" valign="middle" class="内容栏目白色字体"></td>
          </tr>
            
     <tr>
            <td id="money" name="td_hide_money" height="31" align="center" valign="middle" background="images/money_manage.jpg" onclick="opentd('money');" class="内容栏目白色字体"><span class="treePanert">财务管理</span></td>
          </tr>
     <tr name="tr_hide_money" style="display:none">
            <td height="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <c:if test="${sessionScope.companyAclArray[8]=='1'}">
          
              <tr>
                <td height="28" align="center" valign="middle" class="二级菜单14号黑色字体" onclick="onSelect(this);"  onMouseOver="toClick(this);">   <a href="${ctx}/caiwu/listAccount" target="main">财务收支情况</a></td>
              </tr>
              </c:if>
               </table></td>
          </tr>
          <tr>
            <td height="2" align="center" valign="middle" class="内容栏目白色字体"></td>
          </tr>
          
     </table>
        <script type="text/javascript">
        function onSelect(obj)
        {
        	$(window.parent.parent.frames["topFrame"].document).find("#point").html($(obj).text());
    		
        }
        function toClick(obj)
       	{
        	
           	$("td[background='images/goods_manage_hl.gif']").each(function(index){
           		$(this).attr("background","");
           	});
           	$(obj).attr("background","images/goods_manage_hl.gif");
       	}
    	function opentd(name)
    	{
    		$(window.parent.parent.frames["topFrame"].document).find("#point").html($('#'+name).text());
    		
    		var back=$("#"+name).attr("background");
    		var pattern = "1";
    		var pattern1=".jpg";
    		if(back.indexOf("1")>0)
    			back = back.replace(new RegExp(pattern), "");
    		else
    			back = back.replace(new RegExp(pattern1), "1.jpg");
    		$("td[name^='td_hide_']").each(function(index){
    			 
    			 var backAll=$(this).attr("background");
    				if(backAll.indexOf("1")>0)
    					backAll = backAll.replace(new RegExp(pattern), "");
    				$(this).attr("background",backAll);
    		});
    		$("#"+name).attr("background",back);
    		$("tr[name^='tr_hide_']").each(function(index){
    			$(this).attr("style","display:none");
    		});
    		if($("#"+name).attr("background").indexOf("1")>0)
    		$("tr[name='tr_hide_"+name+"']").attr("style","display:blank");
    	}
    	</script>
</body>
<%@ include file="include/bottom.jsp" %>
